package common;

import java.io.InputStream;

import com.opensymphony.xwork2.ActionSupport;

import basic.PageInfo;

public class BaseAction extends ActionSupport {

	/**
	* 
	*/
	private static final long serialVersionUID = -2683195368171920439L;

	public static final String EXCEPTION = "exception";
	public static final String ERROR = "error";
	public static final String INFO = "info";
	public static final String URL = "url";

	protected InputStream inputStream;
	protected String text;
	protected String time;
	protected String keys;
	protected String code;
	protected String fake;
	protected Boolean high=new Boolean(false);
	protected String sortField;
	protected Boolean sortOrder=new Boolean(false);
	protected Integer pageIndex = 1;
	protected Integer pageSize = 10;
	protected PageInfo pageInfo = new PageInfo(pageIndex, pageSize);

	public InputStream getInputStream() {
		return inputStream;
	}

	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	}

	public Integer getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getSortField() {
		return sortField;
	}

	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	public Boolean getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(Boolean sortOrder) {
		this.sortOrder = sortOrder;
	}

	public PageInfo getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

	public String getKeys() {
		return keys;
	}

	public void setKeys(String keys) {
		this.keys = keys;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getFake() {
		return fake;
	}

	public void setFake(String fake) {
		this.fake = fake;
	}

	public Boolean getHigh() {
		return high;
	}

	public void setHigh(Boolean high) {
		this.high = high;
	}
	
	

}